/**
 * Created By  醉美柳舞之众星捧月
 *
 * @author songx
 * @date 2018/10/17 22:04
 */
public class SingleTon {
    private static SingleTon singleTon;

    private static SingleTon getInstance() {
        if (singleTon == null) {
            singleTon = new SingleTon();
        }
        return singleTon;
    }

    private static SingleTon getInstanceTwo() {
        return new SingleTon();
    }


    public static void main(String[] args) {
        System.out.println(getInstance());
    }
}
